import {observable,action} from "mobx"
class searchStore {
    constructor(store) {
     this.store = store 
    this.getSearch = this.getSearch.bind(this)
    this.getSearchHot = this.getSearchHot.bind(this)
    }
    @observable searchlist = [];
    @observable searchhot = [];

    @action
    getSearch (data) {
      this.searchlist = data
   }
   getSearchHot(data) {
     this.searchhot =data
   }
  
  }
  
  export default searchStore;